package com.eric.webproject.service.impl;

import com.eric.webproject.mapper.TestMapper;
import com.eric.webproject.model.TestModel;
import com.eric.webproject.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TestServiceImpl implements TestService {

    @Autowired
    private TestMapper testMapper;

    @Override
    public TestModel selectByName(String name) {
        return testMapper.selectByName(name);
    }
}
